<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <%@ taglib prefix="s"   uri="/struts-tags"%>
 <%@ taglib prefix="sx"  uri="/struts-dojo-tags"%>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
     <head>
         <title>现金预存</title> 
         <sx:head/>       
         <style type="text/css">
    		@import "css/table.css";
		</style>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/cash.js"></script>
     </head>
    <body>
       
        <s:form action="CashAction.action" theme="simple">现金预存维护|<a href="CashAction!toGetCashList.action">现金列表</a>
   
            <table>
            
                <tr>
                    <td style="text-align:right">
                        客户
                    </td>
                    <td>
                        <s:select  label="选择公司"  list="#session.company_list_custom" name="cash.comId" listKey="id" listValue="comName" headerKey="" headerValue="---" emptyOption="false" />

                        <!--   <s:textfield name="price2.comId" label="公司" />-->

                    </td>
                </tr>
               
                <tr>
                    <td style="text-align:right">
                        本次预存现金
                    </td>
                    <td>
                       <s:textfield name="cash.csum" label="本次预存现金" />元
                    </td>
                </tr>
                <tr>
                   <td style="text-align:right">
                       上次剩余现金
                    </td>
                    <td>
                        <s:textfield name="cash.ltPreSum" value="0" label="上次剩余现金"/>元;(正：上次剩余;负：上次缺少)
                    </td>
                </tr>
                 <tr>
                   <td style="text-align:right">
                       本期实际金额
                    </td>
                    <td>
                        <s:textfield name="cash.factSum" label="本期实际金额" readonly="true"/>元
                    </td>
                </tr>
              <tr>
                   <td style="text-align:right">
                      
                    </td>
                    <td>
                    
                    <sx:datetimepicker label="本期开始时间" name="cash.cashDate" displayFormat="yyyy-MM-dd"/> 
                     <!--  <s:date name="cash.invalidationDate" format="yyyy-MM-dd" /> -->  
                    </td>
                </tr>
                 <tr>
                   <td style="text-align:right">
                      
                    </td>
                    <td>
                    
                    <sx:datetimepicker label="本期结束时间" name="cash.cashDateEnd" displayFormat="yyyy-MM-dd"/> 
                     <!--  <s:date name="cash.invalidationDate" format="yyyy-MM-dd" /> -->  
                    </td>
                </tr>
             <tr>
                   <td style="text-align:right">
                       备注
                    </td>
                    <td>
                        <s:textfield name="cash.remark" label="备注" />
                    </td>
                </tr>
          <tr>
                   <td style="text-align:right">
                       从下次借贷现金
                    </td>
                    <td>
                        <s:textfield name="cash.bfNextSum" label="从下次借贷现金"/>元;(正：借于下次;负：给下次;下一次时补填)
                    </td>
                </tr>       
         
           <tr>
                    <td style="text-align:right">
                        <s:submit value="保存"  />
                    </td>
                    <td style="text-align:left">
                        <s:reset value="取消"/>
                    </td>
                    
                </tr>
            </table>
        </s:form>
        <s:fielderror cssStyle="color:red"/>
    </body>
</html>
